// Buffer对象是一个全局对象，内置
var str = "深入浅出node.js";
var buf = new Buffer(str,'utf-8');
console.log(buf);

console.log(Buffer.isEncoding('GB2312'));

var iconv = require('iconv-lite');
var str = iconv.decode(buf,'win1251');